import { axios } from '@/utils/request'

/**
 * 查询问卷详情
 *
 * @author blueberry
 * @date 2021-08-25 22:28:28
 */
export function questionnaireDetailPage (parameter) {
  return axios({
    url: '/questionnaireDetail/page',
    method: 'get',
    params: parameter
  })
}

/**
 * 问卷详情列表
 *
 * @author blueberry
 * @date 2021-08-25 22:28:28
 */
export function questionnaireDetailList (parameter) {
  return axios({
    url: '/questionnaireDetail/list',
    method: 'get',
    params: parameter
  })
}

/**
 * 添加问卷详情
 *
 * @author blueberry
 * @date 2021-08-25 22:28:28
 */
export function questionnaireDetailAdd (parameter) {
  return axios({
    url: '/questionnaireDetail/add',
    method: 'post',
    data: parameter
  })
}

/**
 * 编辑问卷详情
 *
 * @author blueberry
 * @date 2021-08-25 22:28:28
 */
export function questionnaireDetailEdit (parameter) {
  return axios({
    url: '/questionnaireDetail/edit',
    method: 'post',
    data: parameter
  })
}

/**
 * 删除问卷详情
 *
 * @author blueberry
 * @date 2021-08-25 22:28:28
 */
export function questionnaireDetailDelete (parameter) {
  return axios({
    url: '/questionnaireDetail/delete',
    method: 'post',
    data: parameter
  })
}

/**
 * 导出问卷详情
 *
 * @author blueberry
 * @date 2021-08-25 22:28:28
 */
export function questionnaireDetailExport (parameter) {
  return axios({
    url: '/questionnaireDetail/export',
    method: 'get',
    params: parameter,
    responseType: 'blob'
  })
}
